package cn.com.shaom.learning.sb.batch;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

/**
 * ClassName: Person
 * Description:
 * Date: 2017/12/28 15:48 【需求编号】
 *
 * @author Shaom
 * @version V1.0.0
 */
@Setter
@Getter
public class Person {

    // 校验使用
    @Size(max = 4, min = 2)
    private String name;
    private int age;
    private String nation;
    private String address;
}
